<template >
  <div >
    <svg-icon icon-class="message" @click="click" />
    <div>
      <HomeDig ref="dig"/>
    </div>
  </div>

</template>

<script>
import HomeDig from '@/views/dashboard/homedig.vue';

export default {
  components: {
    HomeDig
  },
  name: 'Doc',
  methods: {
    click() {
      this.$refs.dig.showDialog();
    }
  },
  mounted() {
    this.$refs.dig.hideDialog();
  }

}
</script>
<style>
.el-dialog {
  z-index: 2001 !important; /* 默认蒙层的 z-index 是 2000 */
}
</style>
